<?php
/* ---------------------------------------------------
 * A page view is design to renader a complete document such
 * as an html page.  It basically has a master page with a content section
 */
class Cerad_PageView extends Cerad_View
{
	protected $tplPage    = 'MasterPageTpl';
    protected $tplTitle   = 'Cerad View';
    protected $tplContent = 'ContentTpl';
    
    protected $tplRedirectDelay = 0;
    protected $tplRedirectLink  = NULL;

    function renderPage()
    {
        $this->content = $this->render($this->tplContent);
        
        return $this->render($this->tplPage);
    }
}
?>